package cn.stylefeng.guns.modular.weixin.config;

import org.springframework.boot.context.properties.*;
import org.apache.commons.lang3.builder.*;

@ConfigurationProperties(prefix = "wx.pay")
public class WxPayProperties
{
    private String appId;
    private String mchId;
    private String mchKey;
    private String subAppId;
    private String subMchId;
    private String keyPath;
    
    public String getAppId() {
        return this.appId;
    }
    
    public void setAppId(final String appId) {
        this.appId = appId;
    }
    
    public String getMchId() {
        return this.mchId;
    }
    
    public void setMchId(final String mchId) {
        this.mchId = mchId;
    }
    
    public String getMchKey() {
        return this.mchKey;
    }
    
    public void setMchKey(final String mchKey) {
        this.mchKey = mchKey;
    }
    
    public String getSubAppId() {
        return this.subAppId;
    }
    
    public void setSubAppId(final String subAppId) {
        this.subAppId = subAppId;
    }
    
    public String getSubMchId() {
        return this.subMchId;
    }
    
    public void setSubMchId(final String subMchId) {
        this.subMchId = subMchId;
    }
    
    public String getKeyPath() {
        return this.keyPath;
    }
    
    public void setKeyPath(final String keyPath) {
        this.keyPath = keyPath;
    }
    
    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
